GtkColorButton: Use a color swatch
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Jul 2014 00:50:47 +0000 (20:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Jul 2014 00:50:47 +0000 (20:50 -0400)
commitafe8bd6db9ae11ce1ff1cb2dd5aafb4560094b8b
tree6f4eda90883254a4f82d1ff5162200916ebc25fb
parentb68a28fbb02adc716eb6c00ad1338fc514fd39b5
GtkColorButton: Use a color swatch

This saves some code and lets us reuse the color swatch styling.
Among other things, this fixes a lack of discernible border when
the selected color is very similar to the background.

https://bugzilla.gnome.org/show_bug.cgi?id=680885
gtk/gtkcolorbutton.c